#region License Revision: 0 Last Revised: 6/18/2008 11:00 AM
/******************************************************************************
Copyright (c) Microsoft Corporation.  All rights reserved.


This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file. 
If it does not, you can obtain a copy from: 

http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
******************************************************************************/
#endregion // License
using System.Collections.Generic;
using VIEWS;

namespace SilverlightMap
{
	/// <summary>
	/// Pushpin that holds onto the found info for a pin
	/// This works because shape instances are tracked, and events will return the same instance back again
	/// </summary>
	public class FoundPin : VEPushpin
	{
		private List<string> lines;

		/// <summary>
		/// Constructor for the SensorPin
		/// </summary>
		/// <param name="location">Lat/Long location for the sensorPin</param>
		public FoundPin(VELatLong location, params string[] strLine)
			: base(location)
		{
			lines = new List<string>(strLine);
		}

		/// <summary>
		/// Information lines
		/// </summary>
		public List<string> Lines
		{
			get { return lines; }
			set { lines = value; }
		}

		/// <summary>
		/// GetHashCode() get the hash code for the object
		/// <returns></returns>
		public override int GetHashCode()
		{
			return base.GetHashCode();
		}

	}
}
